=======================
GS SysBeep2 sound codes
=======================

Modification History:

30-Mar-95 Dave Lyons	Allocated F90..FFF for A2PRO (Tim Tobin / Lunatic Bruce
			E'Sex, a2pro@genie.geis.com).
 3-Sep-93 Dave Lyons	Created file from 6.0.1 MiscTool.h and the Programmer's
 			Reference for System 6.0.

==================================================================================
Here is the list of all SysBeep2 codes.  Because bits 15 and 14 of the parameter
to SysBeep2 are flags, these codes are in the range $0000..3FFF.

These codes are assigned by Apple, sometimes at the request of third parties.

The Sound control panel has an rTaggedStrings resource that lists the numbers
and names of the sound events that the user sees in the Sound cp's pop-up menu.
==================================================================================

   8000	sbSilence		additive flag: setting bit inhibits playing the standard
				beep in the event that there is no assignment for the sound
   4000	sbDefer			additive flag: setting bit defers the sound until the next
  				GetNextEvent call that allows keyboard or mouse events

v = border flashes if "give visual indication of sound" checkbox is checked
+ = name shows up in the 6.0/6.0.1 Sound control panel pop-up, as shipped from Apple

v  0000	sbAlertStage0
v  0001	sbAlertStage1
v  0002	sbAlertStage2
v  0003	sbAlertStage3
v+ 0004	sbOutsideWindow
v+ 0005	sbOperationComplete
v  0006..0007			reserved for future use
v+ 0008	sbBadKeypress
v+ 0009	sbBadInputValue
v+ 000A	sbInputFieldFull
v+ 000B	sbOperationImpossible
v+ 000C	sbOperationFailed
   000D..0010			reserved for future use
   0011	sbGSOStoP8
   0012	sbP8toGSOS
 + 0013	sbDiskInserted
 + 0014	sbDiskEjected
 + 0015	sbSystemShutdown
   0016				reserved for "volume contents changed"
   0017..002F			reserved for other NotifyProc events
v+ 0030	sbDiskRequest
 + 0031	sbSystemStartup
   0032	sbSystemRestart
v+ 0033	sbBadDisk
   0034	sbKeyClick
   0035	sbReturnKey
   0036	sbSpaceKey
   0037..003F			reserved for future use
 + 0040	sbWhooshOpen
 + 0041	sbWhooshClosed
 + 0042	sbFillTrash
 + 0043	sbEmptyTrash
   0044..004F			reserved for future use
v+ 0050	sbAlertWindow
v+ 0052	sbAlertStop
v+ 0053	sbAlertNote
v+ 0054	sbAlertCaution
v  0055..0059			reserved for AlertWindow use
   005A..005F			reserved for future use
   0060	sbScreenBlanking
   0061	sbScreenUnblanking
   0062..006F			reserved for future use
   0070	sbBeginningLongOperation	(assigned 3-Sep-93, not in 6.0.1 interfaces)
   0071..00FF			reserved for future use
 + 0100	sbYouHaveMail
   0101..0DFF			reserved for future use
v  0Exx	sbErrorWindowBase		ErrorWindow uses $0Exx for errors 0000..00FF)
v  0EFF	sbErrorWindowOther	ErrorWindow uses $0EFF for errors $0100..$FFFF)

v  0Fxx				Sound control panel blinks the screen border for all sounds
   				in this range, if the "Give visual indication of sounds"
				checkbox is checked (regardless of volume).
v  0F00..0F7F			codes that Apple wanted, that get visual indication
v  0F80..0FFF			codes that 3rd parties wanted, that get visual indication
v  0F90..0FFF			*** ALLOCATED BY A2PRO: Tim Tobin / Lunatic Bruce E'Sex, a2pro@genie.geis.com ***
v  0F80  sbFileTransferred		upload/download finished
v  0F81  sbRealtimeMessage		a real-time message needs the user's attention

   1xxx				Codes assigned at request of third parties, if they don't
   				fit better somewhere else.
   1000 sbConnectedToService	Connected to an interactive online service
   1001 sbDisconnectedFromService	Disconnected from an interactive online service
   1002 sbEnteredRealtimeChat	Entered a live chat area on an online service
   1003 sbLeftRealtimeChat		Left a live chat area on an online service
   1004..100F			reserved for future use
   1010 sbFeatureEnabled
   1011 sbFeatureDisabled
   1012..1DFF			reserved for future use
   1E00..1FFF			*** ALLOCATED BY A2PRO: Tim Tobin / Lunatic Bruce E'Sex, a2pro@genie.geis.com ***

   2000..3FFF			Range is clean so far.  If necessary, we could snarf
   				one more bit to use for a flag (bit 13).

   4000..FFFF			Used for duplicates of 0000..3FFF by additive flags

[end of document]
